<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="jquery/jquery-3.4.1.min.js"></script>
<script src="js/params.js"></script>
<script>
    $(function(){
       let name=$.query.get("name");
       let age=$.query.get("age");
       console.log(name);
       console.log(age);
    });
</script>
</body>
</html>